//
//  HZBottomTabBar.h
//  WangYiNews
//
//  Created by WangPengHua on 16/1/10.
//  Copyright © 2016年 PengHua Wang. All rights reserved.
//

#import <UIKit/UIKit.h>
@class HZBottomTabBar;

@protocol HZBottomTabBarDelegate <NSObject>
//设置协议 - 将自定义内部被点击的按钮索引产给tabBarController,进行控制器的切换
- (void)bottomTabBar:(HZBottomTabBar *)tabBar didCurrentClickButtonIndex:(int)index;

@end
@interface HZBottomTabBar : UIView
/** 代理属性*/
@property (nonatomic, weak) id<HZBottomTabBarDelegate> delegate;
//添加按钮并设置图片
- (void)addBottomBarButtonWithNormalImageName:(NSString *)normal selected:(NSString *)selected title:(NSString *)title;

@end
